import lombok.Data;

@Data
public class Animals {
    private String name;
    private int age;
     void eat(){
        System.out.println("小动物要喝水");
    }

    public Animals(String name, int age) {
    }


}
